<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<%@include  file="/common/taglibs.jsp"%>
<head>
<title>龙天图书联盟</title>
<link href="${ctx}/styles/longtian/main.css" rel="stylesheet" type="text/css" />
<style>
.username{
	height: 20px;
    background-image:url(${ctx}/images/longtian/user.gif);
	background-position: 1px 1px;
	background-repeat:no-repeat;
	padding-left:20px;
	width:120px;
	border: 1px solid #999999;
	font-size: 16px;
	font-weight: bold;
	color:#C2060F;
}
.password{
    background-image:url(${ctx}/images/longtian/lock_go.gif);
	background-position: 1px 1px;
	background-repeat:no-repeat;
	padding-left:20px;
	height:20px;
	width:120px;
	border: 1px solid #999999;
	font-size: 16px;
	font-weight: bold;
	color:#C2060F;
}

.code{
	background-image:url(${ctx}/images/longtian/event.gif);
	background-position: 1px 1px;
	background-repeat:no-repeat;
	padding-left:20px;
	height:20px;
	width:60px;
	border: 1px solid #999999;
	font-size: 16px;
	font-weight: bold;
	color:#C2060F;
}
</style>
</head>

<body>
<br />
<table width="656" height="60" border="0" align="center" cellpadding="0" cellspacing="0" class="hangju">
  <tr>
    <td width="400" height="60"><img src="${ctx}/images/longtian/l_logo.gif" width="400" height="60" /></td>
    <td width="57">&nbsp;</td>
    <td width="199"><a href="http://www.longtian.com">公司网站</a> | <a href="servise.html">客服中心</a> | <a href="ad.html">意见建议</a><br />
    全国统一客服：4<strong>00 800 8008 </strong></td>
  </tr>
</table>
<table width="656" height="283" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="500" height="283" align="center"><img src="${ctx}/images/longtian/login_p4.jpg" width="376" height="240" /></td>
    <td width="502" valign="top"><table width="280" height="283" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="283" valign="top" background="${ctx}/images/longtian/form_bg2.gif"><br />
            <br />
            <table width="229" height="35" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td height="35" class="login_tt">会员登录</td>
          </tr>
        </table>
            <br />
            <form id="loginForm" action='${ctx}/j_security_check' method="post" target="_blank" onsubmit="return jude();">
            <table width="224" height="152" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td width="53">用户名：</td>
              <td width="171">
              	<input type="text" name="j_username" id="j_username" class="username" size="20" /> 
                <span class="redfont">*</span> </td>
            </tr>
            <tr>
              <td>密　码：</td>
              <td>
              	<input name="j_password" id="j_password" type="password" class="password" size="21" /> 
                <span class="redfont">*</span> </td>
            </tr>
			            <tr>
              <td>&nbsp;</td>
              <td>
               	<input name="textfield2" type="text" class="code"/> 
                <span class="login_tt">8958</span></td>
            </tr>
            <tr>
              <td height="44">&nbsp;</td>
              <td>
              <img alt="点击登录" src="${ctx}/images/longtian/btn_login.gif" onclick="login()" style="cursor: pointer;">
             </td>
            </tr>
          </table>
          </form>
            <table width="243" height="35" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td height="35">忘记了密码？点此 <a href="getpass.html">找回密码</a></td>
            </tr>
          </table></td>
      </tr>
    </table></td>
  </tr>
</table>
<br />
<table width="656" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td bgcolor="#FF7300" height="3"></td>
  </tr>
</table>
<br />
<table width="656" border="0" align="center" cellpadding="0" cellspacing="0" class="hangju">
  <tr>
    <td align="center"><a href="1.html">服务条款</a> | <a href="sm.html">隐私声明</a> | <a href="map.html">网站地图</a> | <a href="law.html">法律声明</a> | <a href="lx.html">联系我们</a></td>
  </tr>
</table>
<table width="656" border="0" align="center" cellpadding="0" cellspacing="0" class="hangju">
  <tr>
    <td align="center">龙天图书联盟 版权所有 Copyright <span style="font-family: serif;">&copy;</span> 2010-2012 </td>
  </tr>
</table>
<br />
<script type="text/javascript">
	function login(){
		username = document.getElementById("j_username").value;
		pass = document.getElementById("j_password").value;
		flg = true;
		if (username == null || username.length == 0){
			alert("请输入用户名!");
			flg = false;
		}
		if (pass == null || pass.length == 0){
			alert("请输入密码!");
			flg = false;
		}
		if (flg){
			document.getElementById("loginForm").submit();
		}
	}
</script>
</body>
</html>
